home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / MPW / gzip 1.2.2 / cextras-1.0 / atest.make < prev    next >
Encoding:
Text File  |  1993-07-08  |  1.4 KB  |  38 lines  |  [TEXT/MPS ]

  1. #------------------------------------------------------------------------------
  2. #
  3. #    atest.make -- makefile for alloca tester program.
  4. #
  5. #    Copyright (c) 1993 Anthony C. Ard.
  6. #
  7. #    This program is free software; you can redistribute it and/or
  8. #    modifiy it under the terms of the GNU General Public License
  9. #    as published by the Free Software Foundation; either version 2
  10. #    of the License, or (at your option) any later version.
  11. #    
  12. #    This program is distributed in the hope that it will be useful,
  13. #    but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. #    GNU General Public License for more details.
  16. #    
  17. #    You should have received a copy of the GNU General Public License
  18. #    along with this program; if not, write to the Free Software
  19. #    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. #
  21. #------------------------------------------------------------------------------
  22.  
  23. SymOptions = -sym on
  24. AsmOptions = {SymOptions} -case obj
  25. COptions = -mc68020 {SymOptions}
  26. LinkOptions = {SymOptions}
  27.  
  28. alloca.a.o    ƒ    alloca.a atest.make
  29.     Asm alloca.a -o alloca.a.o {AsmOptions}
  30.  
  31. atest.c.o    ƒ    atest.c atest.make
  32.     C atest.c -o atest.c.o {COptions}
  33.  
  34. atest    ƒ    alloca.a.o atest.c.o atest.make
  35.     Link -o atest -t MPST -c 'MPS ' {LinkOptions} ∂
  36.         {CLibraries}StdCLib.o {Libraries}Runtime.o {Libraries}Interface.o ∂
  37.         atest.c.o alloca.a.o
  38.